
angular.module('app').controller('demo',['$scope','$http',function ($scope,$http){
    console.log('测试数据');
    $http({
        url:'/test/demo/show',
        method:'get'
    }).then(function successCallback(response) {
        console.log(response);
        $scope.demo = response.data;
    }, function errorCallback(response) {});;
}]);